package com.pjh.shitang.entitys;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yueyinghaibao
 * @date 2022/5/1
 */
@TableName("db_window")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Window {
    @TableId("wid")
    Integer wid;
    String name;
    String info;
    Integer likes;

    public Window(String name, String info) {
        setName(name);
        setName(info);
        setLikes(0);
    }
}
